package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/8 0008.
 */

public class ConfigInfoRequestParams extends BaseRequestParams implements Parcelable{

    private String oa_id,android_id,imei,mac_address,system_version,brand,avail_memory,total_memory,model;

    public ConfigInfoRequestParams(String game_id,String deviceId) {
        setGameId(game_id);
        this.android_id =deviceId;
    }


    public String getOa_id() {
        return oa_id;
    }

    public void setOa_id(String oa_id) {
        this.oa_id = oa_id;
    }

    public String getAndroid_id() {
        return android_id;
    }

    public void setAndroid_id(String android_id) {
        this.android_id = android_id;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getMac_address() {
        return mac_address;
    }

    public void setMac_address(String mac_address) {
        this.mac_address = mac_address;
    }

    public String getSystem_version() {
        return system_version;
    }

    public void setSystem_version(String system_version) {
        this.system_version = system_version;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getAvail_memory() {
        return avail_memory;
    }

    public void setAvail_memory(String avail_memory) {
        this.avail_memory = avail_memory;
    }

    public String getTotal_memory() {
        return total_memory;
    }

    public void setTotal_memory(String total_memory) {
        this.total_memory = total_memory;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    @Override
    public String getServiceString() {
        return "config";
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(this.oa_id);
        dest.writeString(this.android_id);
        dest.writeString(this.imei);
        dest.writeString(this.mac_address);
        dest.writeString(this.system_version);
        dest.writeString(this.brand);
        dest.writeString(this.avail_memory);
        dest.writeString(this.total_memory);
        dest.writeString(this.model);
    }

    protected ConfigInfoRequestParams(Parcel in) {
        super(in);
        this.oa_id = in.readString();
        this.android_id = in.readString();
        this.imei = in.readString();
        this.mac_address = in.readString();
        this.system_version = in.readString();
        this.brand = in.readString();
        this.avail_memory = in.readString();
        this.total_memory = in.readString();
        this.model = in.readString();
    }



    public static final Creator<ConfigInfoRequestParams> CREATOR = new Creator<ConfigInfoRequestParams>() {
        @Override
        public ConfigInfoRequestParams createFromParcel(Parcel source) {
            return new ConfigInfoRequestParams(source);
        }

        @Override
        public ConfigInfoRequestParams[] newArray(int size) {
            return new ConfigInfoRequestParams[size];
        }
    };


}
